<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/jsp/business/mngr/include/top.jsp" %>
	<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td width="160" valign="top"><table width="145" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td valign="top">
				<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td width="160" valign="top">
							<table width="145" border="0" cellspacing="0" cellpadding="0">
								<tr>
									<td height="23"><span class="style3">서비스 관리</span></td>
								</tr>
								<tr>
									<td height="2" bgcolor="#6d6d6d"></td>
								</tr>
								<tr>
									<td height="10"></td>
								</tr>
								<tr>
									<td valign="top">
										<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
											<tr>
												<td height="28">- <a href="${requestScope.contextPath}/business/mngr/service/serviceList.do" >서비스 관리</a></td>
											</tr>
											<tr>
												<td height="1" bgcolor="#e5e5e5"></td>
											</tr>
										</table>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td height="30" valign="top">&nbsp;</td>
		</tr>
		<tr>
			<td valign="top"></td>
		</tr>
		<tr>
			<td height="50" valign="top">&nbsp;</td>
		</tr>
	</table>
</td>
<td width="1" valign="top" bgcolor="#e5e5e5"></td>
<td align="left" valign="top" style="padding-left:10px;">
	<table width="700" border="0" cellspacing="0" cellpadding="0">
	  <tr>
		<td><img src="${requestScope.contextPath}/img/com/bullet02.gif"><span class="style4">서비스 관리</span></td>
		<td align="right" class="small">HOME &gt; 서비스 관리 &gt; 서비스 관리</td>
	  </tr>
	  <tr>
		<td colspan="2">&nbsp;</td>
	  </tr>
	  <tr>
		<td colspan="2">
		
			<table border=0 bgcolor=#cccccc cellpadding=0 cellspacing=0 width=98% align="center">
				<tr bgcolor=ffffff>  
					<td bgcolor="white" align=left height=30>
						<form id="schForm" action="" method="get">
						<table border=0 width=100% class=unnamed2 >
						<tr>
							<td bgcolor='ffffff' align=left height=30><b>${totCnt}</b>건 <b>Page</b> : <b>${page}</b> / <b>${pageCnt}</b> &nbsp;</td>
							<td align=right>
							<select name="schTp">
								<option value="all" <c:if test="${schTp eq 'all'}">selected="selected"</c:if>>전체</option>
								<option value="servNm" <c:if test="${schTp eq 'servNm'}">selected="selected"</c:if>>서비스명</option>
								<option value="servDesc" <c:if test="${schTp eq 'servDesc'}">selected="selected"</c:if>>서비스설명</option>
							</select>
							<input type=text name="schTxt" size="12" value="${schTxt}" /> <input type="submit" value="찾기" />&nbsp;</td>
						</tr>
						</table>
						</form>
					</td>
				</tr>
				<tr bgcolor=ffffff>
					<td>
						<table width='100%' border="0" cellpadding="0" cellspacing='5' bgcolor='F0F9FC'>
							<tr> 
								<td>
								
								<table width='100%' border="0" cellpadding='5' cellspacing='1' bgcolor='BED7DF'>
								<tr bgcolor=E7F6FB height=25>	
									<td align="center" width="10%"><font color=1CABD4><b>순번</b></font></td>
									<td align="center" width="20%"><font color=1CABD4><b>구분</b></font></td>
									<td align="center" width="*"><font color=1CABD4><b>서비스명</b></font></td>
									<!-- <td align="center" width="10%"><font color=1CABD4><b>사용여부</b></font></td> -->
									<td align="center" width="10%"><font color=1CABD4><b>노출여부</b></font></td>
									<td align="center" width="25%"><font color=1CABD4><b>등록일</b></font></td>
								</tr>
								<c:choose>
								<c:when test="${totCnt == 0}">
								<tr>
									<td bgcolor="FFFFFF" align="center" valign="middle" height="50" colspan="5" class="unnamed1">서비스가 존재하지 않습니다.</td>
								</tr>
								</c:when>
								<c:otherwise>
								<c:forEach items="${list}" var="map" varStatus="state">
								<tr bgcolor="FFFFFF">
									<td align="center" style='padding-top:3px;padding-bottom:3px'>${totCnt - ((page-1) * recordPerPage) - state.index}</td>
									<td align="center">
									<c:if test="${map.SERV_TP eq 'A'}">WEB</c:if>
									<c:if test="${map.SERV_TP eq 'B'}">Android</c:if>
									<c:if test="${map.SERV_TP eq 'C'}">iPhone</c:if>	
									</td>
									<td style="padding-left: 10px;">
										<a href="${requestScope.contextPath}/business/mngr/service/serviceView.do?servNo=${map.SERV_NO}&amp;page=${page}&amp;schTp=${schTp}&amp;schTxt=${schTxtUTF8}">${map.SERV_NM}</a>
									</td>
									<!-- <td align="center">${map.USE_YN}</td> -->
									<td align="center"><c:choose><c:when test="${map.EX_YN eq 'Y'}">노출</c:when><c:otherwise>미노출</c:otherwise></c:choose></td>
									<td align="center">${map.RGST_DTTM}</td>
								</tr>
								</c:forEach>
								<tr><td colspan="5" bgcolor=ffffff align="center">${pageHtml}</td></tr>
								</c:otherwise>
								</c:choose>
							</table>
						</td>
					</tr>
				</table>
				<p align=right class=unnamed1><a href="${requestScope.contextPath}/business/mngr/service/serviceWriteForm.do">서비스 등록</a></td></tr></table>
	
<%@ include file="/WEB-INF/jsp/business/mngr/include/footer.jsp" %>